package com.lp.biz.train.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import lombok.Data;

/**
 * biz_train_class_vote实体类
 * 班级投票
 * @program: backend
 * @author Ke.Song
 * @since 2024-05-02 10:45:20
 */
@Data
@TableName("biz_train_class_vote")
public class BizTrainClassVote implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 投票人
     */
    private Integer voterId;

    /**
     * 被投票人Id
     */
    private Integer candidateId;

    /**
     * 分数
     */
    private Integer score;

    /**
     * 班级Id
     */
    private Integer bizTrainClassId;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;


}
